The Subjunctive in Adverbial Clauses

If an action has not yet occurred, a native speaker of Spanish will use the subjunctive after certain adverbial clauses such as: tan pronto como (æas soon asÆ), cuando (æwhenÆ), después de que (æafterÆ), en cuanto (æas soon asÆ), hasta que (æuntilÆ), and mientras (æwhile,Æ æas long asÆ).
 
Podemos hablar del tema cuando usted llegue. (you havenÆt arrived yet)
Puedo quedarme en un hotel mientras esté en México. (for however long I am in Mexico -- I havenÆt left yet )
Elena viene tan pronto como yo encuentre un apartamento. (I havenÆt found an apartment yet)

If the action has already taken place and there is therefore no doubt about its outcome, the subjunctive is not used: Cuando estuve en Acapulco, fui a la playa (I went to Acapulco in the past).